import java.io.IOException;

import org.hibernate.Session;
import org.junit.Test;

import com.dhgate.amazon.dao.HibernateSessionFactory;

public class TestJsoup {
	@Test
	public void test() throws IOException{
	/*	Document doc =  Jsoup.connect(
				"").get();
				//"http://www.amazon.com/s/ref=sr_nr_n_0?rh=n%3A3760911%2Cn%3A%2111055981%2Cn%3A11055991%2Cn%3A11056211%2Cn%3A11056221&bbn=11056211&ie=UTF8&qid=1399774936&rnid=11056211").get();
				//"http://www.amazon.com/s/ref=sr_nr_p_n_format_browse-bi_0?rh=n%3A2238192011%2Cp_n_format_browse-bin%3A2740967011%2Cp_n_format_browse-bin%3A7475471011&bbn=2238192011&ie=UTF8&qid=1399775192&rnid=2740967011").get();
		Elements elements =  doc.select("div[class=categoryRefinementsSection]").select("ul");
		System.out.println(elements.toString());
		Element element =  elements.last();*/
		//System.out.println(element.html());
		Session session = HibernateSessionFactory.getSession();
		System.out.println("haha");
	}
}
